<?php 
		$user=$session->read('User');
		$colleageid=$session->read("colleageid");
		//$isflag=$action->checkPermissions($user,$companyid);
		$isflag = true;
?>
<div class="right_side_operate_area">
	<div class="right_side_title left">
    	<h2>
			<?php 
				$colleagename=$session->read("colleagename");
				echo $html->link($colleagename,"/colleages/showcolleageinfo/".$colleageid);
			?>
    	</h2>
    	<div class='clear'></div>
    </div>
    <div class="right back_btn"><?php echo $html->link("返回","/colleages/awardprojects/".$_SESSION['colleageid'])?></div>
    <div class="clear"></div>
</div>


<div class="right_side_scollbar">
    <div class="detail_info_panel">
    
    	<div class="details_item_line">  
	        <div class="details_item">
	               <div class="form_left_title left">项目名称：</div>
	               <div class="form_right_input left"><?php echo $form->value('CgAwardproject.name') ;?></div>
            </div>
		</div>
		
		<div class="details_item_line">  
	        <div class="details_item">
	               <div class="form_left_title left">获奖时间：</div>
	               <div class="form_right_input left">
               			<?php
               					$time = date("Y-m-d",strtotime($form->value('CgAwardproject.award_time')));
               					echo $time;
               			?>
	               </div>
            </div>
		</div>
		
		<div class="details_item_line">  
	        <div class="details_item">
	               <div class="form_left_title left">应用描述：</div>
	               <div class="form_right_input left">
	               		<?php
	               				$apply_describe = $str->formatTextarea($form->value('CgAwardproject.apply_describe'));
	               				echo $apply_describe;
	               		?>
	               </div>
            </div>
		</div>
		
		<!--显示图片 开始-->
		<div class="details_item_line">
			<div class="details_item">
	                <div class="form_left_title left">核心技术：</div>
	                <div class="form_right_e_input left">
	                <?php 
					                $photoimg = $photo["file_path"];
					                if($photoimg)
					                {
					                	echo $html->image("/".$photoimg,array("width"=>"200px","height"=>"80px"));
					                }
					                else 
					                	echo "暂无图片";
	                ?>
	                </div>
       		</div>
		</div>
		<!--显示图片 结束-->
		
		<div class="details_item_line">  
	        <div class="details_item">
	               <div class="form_left_title left">经济指标：</div>
	               <div class="form_right_input left">
	               		<?php
	               				$economic_target = $str->formatTextarea($form->value('CgAwardproject.economic_target'));
	               				echo $economic_target;
	               		?>
	               </div>
            </div>
		</div>
		
		<div class="details_item_line">  
	        <div class="details_item">
	               <div class="form_left_title left">使用案例：</div>
	               <div class="form_right_input left">
	               		<?php
	               				$usecase = $str->formatTextarea($form->value('CgAwardproject.usecase'));
	               				echo $usecase;
	               		?>
	               </div>
            </div>
		</div>
		
    </div>
</div>